package com.jianbing.shasha.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 题库对象 shasha_question_bank
 * 
 * @author ruoyi
 * @date 2024-06-09
 */
public class ShashaQuestionBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 对应关卡数 即对应天数 */
    @Excel(name = "对应关卡数 即对应天数")
    private Long levelId;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String path;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    /** 记录插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Date getInsertTime() 
    {
        return insertTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("levelId", getLevelId())
            .append("path", getPath())
            .append("fileType", getFileType())
            .append("insertTime", getInsertTime())
            .toString();
    }
}
